package com.ruoyi.project.web.examPaper.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 试卷管理对象 web_exam_paper
 * 
 * @author ruoyi
 * @date 2021-01-25
 */
public class ExamPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long examId;

    /** 考卷名称 */
    @Excel(name = "考卷名称")
    private String examName;

    /** 总分 */
    @Excel(name = "总分")
    private Integer allPoints;

    /** 题目数量 */
    @Excel(name = "题目数量")
    private Integer quesNum;

    /** 题目集合 */
    @Excel(name = "题目集合")
    private String quesIds;

    /** 及格分数 */
    @Excel(name = "及格分数")
    private Integer passPoints;

    /** 考试时长 */
    @Excel(name = "考试时长")
    private Integer duration;

    /** 试卷类型 */
    @Excel(name = "试卷类型")
    private String learnType;


    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    public void setExamId(Long examId)
    {
        this.examId = examId;
    }

    public Long getExamId()
    {
        return examId;
    }
    public void setExamName(String examName)
    {
        this.examName = examName;
    }

    public String getExamName()
    {
        return examName;
    }
    public void setAllPoints(Integer allPoints)
    {
        this.allPoints = allPoints;
    }

    public Integer getAllPoints()
    {
        return allPoints;
    }
    public void setQuesNum(Integer quesNum)
    {
        this.quesNum = quesNum;
    }

    public Integer getQuesNum()
    {
        return quesNum;
    }
    public void setQuesIds(String quesIds)
    {
        this.quesIds = quesIds;
    }

    public String getQuesIds()
    {
        return quesIds;
    }
    public void setPassPoints(Integer passPoints)
    {
        this.passPoints = passPoints;
    }

    public Integer getPassPoints()
    {
        return passPoints;
    }
    public void setDuration(Integer duration)
    {
        this.duration = duration;
    }

    public Integer getDuration()
    {
        return duration;
    }
    public void setLearnType(String learnType)
    {
        this.learnType = learnType;
    }

    public String getLearnType()
    {
        return learnType;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examId", getExamId())
            .append("examName", getExamName())
            .append("allPoints", getAllPoints())
            .append("quesNum", getQuesNum())
            .append("quesIds", getQuesIds())
            .append("passPoints", getPassPoints())
            .append("duration", getDuration())
            .append("learnType", getLearnType())
            .append("endTime", getEndTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
